package com.hl.unittestlearn.http;

import com.hl.unittestlearn.http.bean.LoginResult;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Administrator on 2016/12/28 0028.
 */

public interface APIService {
    @GET("test_okhttp/login.php")
    Observable<LoginResult> login(@Query("userName")String userName, @Query("password")String password);
}
